<%@ page import="bean.B01boardVO" %>
<%@ page import="bean.B01boardDTO" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="./css/B01board.css">
<script src = './js/B01board.js'></script>
</head>
<body>
<%-- <% request.setCharacterEncoding("utf-8"); %>
<jsp:useBean id="vo" class="bean.B01boardVO" scope="page"/>
<jsp:setProperty property="*" name="vo"/> --%>

<%
B01boardVO v = new B01boardVO(request);
B01boardDTO dto = new B01boardDTO();
dto.file(v);
%>

<form action="" name="hiddenFrm" method="post">
	<input type="hidden" name="nowPage" value="<%=v.getNowPage()%>">
	<input type="hidden" name="find" value="<%=v.getFind() %>">
</form>
<h1> 게시글 수정 결과 </h1>
<hr>
<br>
	
<% 
if(dto.modify()){
	out.print("<h4>정상적으로 수정되었습니다.</h4>");
	
}else{
	out.print("<h4>수정 중 오류가 발생했습니다.</h4>");
} 
%>


<hr>
	<input type="button" value="목록으로" id="btnList"/>
</body>
<script>modifyInit();</script>
</html>